import request from '@/utils/request'

// 获取配置二维码
export function OrderGetCode(data = {}) {
    return request({
        url: '/dyLiveData/order/get/code',
        method: "put",
    })
}

// 新增订单
export function CreateOrder(data) {
    return request({
        url: '/dyLiveData/order',
        method: "post",
        data
    })
}

// 订单状态查询
export function OrderStates(data) {
  return request({
      url: '/dyLiveData/pay/change/status',
      method: "post",
      data
  })
}
